<?PHP
  class PluginSettingsPage extends Editor{
    function __construct($page){
      $this->page = $page;
    }
  
    public function display(){
      $plugins = new PluginList();
      $plugins->loadAll();
      foreach($plugins->plugins as $plugin){
        if($plugin->path == $_GET['plugin']){
          echo "<h2>".$plugin->name."</h2>";
          include(Settings::getInstance()->get("root")."system/plugins/".$plugin->path.
            "/".$plugin->configurationFile);
        }
      }
    }
    function getHeader(){
    }
    
    public function getEditableCode(){
      return "<input name=\"save\" type=\"submit\" value=\"&Auml;ndern\" 
                onclick=\"form.action='".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."' ;
                target='_self' ; return true\" />";
    }
    
    public function save($newPage,$oldPage){
    }    
}
?>